#!/usr/bin/python
#-*- coding: utf-8 -*-

# CPBMI Python Homework 6-1
# Programmed by Seunghwan Kim

import os
import glob

file_list = glob.glob('wordfile/*')
file_list.append('passwd.txt')

for file in file_list:
    fp = open(file, "r")
    for line in fp.readlines():
        if line.strip() == '********':
            print file, line
    fp.close() 